Next | Prev | Up | Top | Contents | Index

Miscellaneous Optimizations

The -OPT group allows control over a variety of other optimization choices.


-OPT:space

The MIPSpro 64-bit compilers normally make optimization decisions based strictly on the expected execution time effects. If code size is more important, use this option. One of its effects is to cause most subprogram exits to go though a single exit path, with a single copy of register restores, result loads, and so on.


-OPT:alias=name

The compilers must normally be very conservative in optimization of memory references involving pointers (especially in C), since aliases (different ways of accessing the same memory) may be very hard to detect. This option may be used to specify that the program being compiled avoids aliasing in various ways. The choices are:


Next | Prev | Up | Top | Contents | Index